package com.mygdx.game.newmap;

import com.badlogic.gdx.Game;

/**
 * Created by dell on 2018/2/6.
 */
public class Main extends Game{
    public static final float WORLD_WIDTH = 480;
    public static final float WORLD_HEIGHT = 320;

    private MapScreen mapScreen; //地图场景
    @Override
    public void create() {
        mapScreen = new MapScreen();
        setScreen(mapScreen);  //设置界面显示为 地图的场景
    }

    @Override
    public void dispose() {
        super.dispose();
        mapScreen.dispose();
    }
}
